import mongoose from 'mongoose';
const Schema = mongoose.Schema;
const ObjectId = Schema.ObjectId;
import moment from 'moment';

let Laf_Tag = new Schema({
  laf: {type: ObjectId, reqired: true, ref: 'Laf'},
  tag: {type: ObjectId, reqired: true, ref: 'Tag'},
  isDelete: {type: 'Boolean', default: false},
  createTime: {type: 'Number', default: Date.now()}
});

mongoose.model('Laf_Tag', Laf_Tag);

export default mongoose.model('Laf_Tag');